net/http.Protocols.setBit (method)
4 uses
net/http (current package)
http.go#L44: func (p *Protocols) SetHTTP1(ok bool) { p.setBit(protoHTTP1, ok) }
http.go#L50: func (p *Protocols) SetHTTP2(ok bool) { p.setBit(protoHTTP2, ok) }
http.go#L56: func (p *Protocols) SetUnencryptedHTTP2(ok bool) { p.setBit(protoUnencryptedHTTP2, ok) }
http.go#L58: func (p *Protocols) setBit(bit uint8, ok bool) {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |